﻿@page "/checkboxs"
@inject IStringLocalizer<Checkboxs> Localizer

<h3>@Localizer["Title"]</h3>

<h4>@Localizer["Description"]</h4>

<DemoBlock Title="@Localizer["NormalTitle"]" Introduction="@Localizer["NormalIntro"]" Name="Normal" Demo="typeof(Demos.Checkbox.CheckboxNormal)" />

<DemoBlock Title="@Localizer["DisabledTitle"]" Introduction="@Localizer["DisabledIntro"]" Name="Disabled" Demo="typeof(Demos.Checkbox.CheckboxDisabled)" />

<DemoBlock Title="@Localizer["ShowLabelTitle"]" Introduction="@Localizer["ShowLabelIntro"]" Name="ShowLabel" Demo="typeof(Demos.Checkbox.CheckboxShowLabel)" />

<DemoBlock Title="@Localizer["DisplayTextTitle"]" Introduction="@Localizer["DisplayTextIntro"]" Name="DisplayText" Demo="typeof(Demos.Checkbox.CheckboxDisplayText)" />

<DemoBlock Title="@Localizer["ShowAfterLabelTitle"]" Introduction="@Localizer["ShowAfterLabelIntro"]" Name="ShowAfterLabel" Demo="typeof(Demos.Checkbox.CheckboxShowAfterLabel)">
    <p>@((MarkupString)Localizer["ShowAfterLabelDescription"].Value)</p>
</DemoBlock>

<DemoBlock Title="@Localizer["OnStateChangedTitle"]" Introduction="@Localizer["OnStateChangedIntro"]" Name="OnStateChanged" Demo="typeof(Demos.Checkbox.CheckboxOnStateChanged)" />

<DemoBlock Title="@Localizer["BindStringTitle"]" Introduction="@Localizer["BindStringIntro"]" Name="BindString" Demo="typeof(Demos.Checkbox.CheckboxBindString)" />

<DemoBlock Title="@Localizer["ValidateFormTitle"]" Introduction="@Localizer["ValidateFormIntro"]" Name="ValidateForm" Demo="typeof(Demos.Checkbox.CheckboxValidateForm)">
    <p>@((MarkupString)Localizer["ValidateFormDescription"].Value)</p>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />

<EventTable Items="@GetEvents()" />
